package hlhj.fhp.supreme.javabean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2018\4\24 0024.
 */

public class CommentBean {


    /**
     * code : 1
     * msg : 操作成功
     * data : {"new":[{"id":34,"parent_id":0,"full_name":"人人","reply_name":"","content":"评论吧大发发","num":1,"create_time":1523416537,"son":[{"id":35,"parent_id":34,"full_name":"人人","reply_name":"人人","content":"评论吧大发发","num":0,"create_time":1523416555}]},{"id":40,"parent_id":0,"full_name":"人人","reply_name":"","content":"评论吧大发发","num":0,"create_time":1523416844}],"hot":[{"id":24,"parent_id":0,"full_name":"人人","reply_name":"","content":"评论吧大发发","num":7,"create_time":1523415721,"son":[{"id":26,"parent_id":24,"full_name":"人人","reply_name":"人人","content":"评论吧大发发","num":0,"create_time":1523415802},{"id":27,"parent_id":24,"full_name":"人人","reply_name":"人人","content":"评论吧大发发","num":0,"create_time":1523415813}]}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("new")
        private List<NewBean> newX;
        private List<HotBean> hot;

        public List<NewBean> getNewX() {
            return newX;
        }

        public void setNewX(List<NewBean> newX) {
            this.newX = newX;
        }

        public List<HotBean> getHot() {
            return hot;
        }

        public void setHot(List<HotBean> hot) {
            this.hot = hot;
        }

        public static class NewBean {
            /**
             * id : 34
             * parent_id : 0
             * full_name : 人人
             * reply_name :
             * content : 评论吧大发发
             * num : 1
             * create_time : 1523416537
             * son : [{"id":35,"parent_id":34,"full_name":"人人","reply_name":"人人","content":"评论吧大发发","num":0,"create_time":1523416555}]
             */

            private int id;
            private int parent_id;
            private String full_name;
            private String reply_name;
            private String content;
            private int num;
            private int create_time;
            private String avatar;
            private List<SonBean> son;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getParent_id() {
                return parent_id;
            }

            public void setParent_id(int parent_id) {
                this.parent_id = parent_id;
            }

            public String getFull_name() {
                return full_name;
            }

            public void setFull_name(String full_name) {
                this.full_name = full_name;
            }

            public String getReply_name() {
                return reply_name;
            }

            public void setReply_name(String reply_name) {
                this.reply_name = reply_name;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }

            public List<SonBean> getSon() {
                return son;
            }

            public void setSon(List<SonBean> son) {
                this.son = son;
            }

            public static class SonBean {
                /**
                 * id : 35
                 * parent_id : 34
                 * full_name : 人人
                 * reply_name : 人人
                 * content : 评论吧大发发
                 * num : 0
                 * create_time : 1523416555
                 */

                private int id;
                private int parent_id;
                private String full_name;
                private String reply_name;
                private String content;
                private int num;
                private int create_time;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getParent_id() {
                    return parent_id;
                }

                public void setParent_id(int parent_id) {
                    this.parent_id = parent_id;
                }

                public String getFull_name() {
                    return full_name;
                }

                public void setFull_name(String full_name) {
                    this.full_name = full_name;
                }

                public String getReply_name() {
                    return reply_name;
                }

                public void setReply_name(String reply_name) {
                    this.reply_name = reply_name;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(int create_time) {
                    this.create_time = create_time;
                }
            }
        }

        public static class HotBean {
            /**
             * id : 24
             * parent_id : 0
             * full_name : 人人
             * reply_name :
             * content : 评论吧大发发
             * num : 7
             * create_time : 1523415721
             * son : [{"id":26,"parent_id":24,"full_name":"人人","reply_name":"人人","content":"评论吧大发发","num":0,"create_time":1523415802},{"id":27,"parent_id":24,"full_name":"人人","reply_name":"人人","content":"评论吧大发发","num":0,"create_time":1523415813}]
             */

            private int id;
            private int parent_id;
            private String full_name;
            private String reply_name;
            private String content;
            private int num;
            private int create_time;
            private String avatar;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            private List<SonBeanX> son;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getParent_id() {
                return parent_id;
            }

            public void setParent_id(int parent_id) {
                this.parent_id = parent_id;
            }

            public String getFull_name() {
                return full_name;
            }

            public void setFull_name(String full_name) {
                this.full_name = full_name;
            }

            public String getReply_name() {
                return reply_name;
            }

            public void setReply_name(String reply_name) {
                this.reply_name = reply_name;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }

            public List<SonBeanX> getSon() {
                return son;
            }

            public void setSon(List<SonBeanX> son) {
                this.son = son;
            }

            public static class SonBeanX {
                /**
                 * id : 26
                 * parent_id : 24
                 * full_name : 人人
                 * reply_name : 人人
                 * content : 评论吧大发发
                 * num : 0
                 * create_time : 1523415802
                 */

                private int id;
                private int parent_id;
                private String full_name;
                private String reply_name;
                private String content;
                private int num;
                private int create_time;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getParent_id() {
                    return parent_id;
                }

                public void setParent_id(int parent_id) {
                    this.parent_id = parent_id;
                }

                public String getFull_name() {
                    return full_name;
                }

                public void setFull_name(String full_name) {
                    this.full_name = full_name;
                }

                public String getReply_name() {
                    return reply_name;
                }

                public void setReply_name(String reply_name) {
                    this.reply_name = reply_name;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(int create_time) {
                    this.create_time = create_time;
                }
            }
        }
    }
}
